package com.mz.ozy.mvp.view;

import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.MeBean;
import com.mz.ozy.bean.NewObExchangeBean;

import org.json.JSONObject;

public interface ExchangeObContract {

    interface View extends BaseView {
        void onExchangeSuccess(JSONObject json);
        void newOnExchangeSuccess(NewObExchangeBean obExchangeBean);
    }

    interface Presenter extends BasePresenter<View> {

       void onExchange(Context context, String amt,String payPwd);

        void newOnExchange(Context context, String amt, String payPwd);
    }
}
